module supercalls3

extends "supercalls2.pkl"

import "pkl:test"

hidden pigeonBarnOwl = super.pigeon + super.barnOwl()
function barnOwlPigeon() = super.barnOwl() + super.pigeon
hidden parrot = super.say("Parrot")
function other() = super.other()
function sameMethod() = 3 + super.sameMethod()
sameProp = super.sameProp + "c"

prefix = "Oh "

res1 = pigeon
res2 = barnOwl()
res3 = say2("Parrot")
res4 = pigeonBarnOwl
res5 = barnOwlPigeon()
res6 = parrot
res7 = test.catch(() -> other())
res8 = sameMethod()
